package main;

import java.util.logging.Logger;

import logger.GameLogger;

import display.DisplayEngine;

/**
 * Serves as a central entry point
 */
public class Main {

	public static DisplayEngine displayEngine;
	public static GameLogger logger;
	/**
	 * Entry point
	 * @param args : no need
	 */
	public static void main(String[] args) {
		logger = GameLogger.getInstance();
		displayEngine = new DisplayEngine();
		Runtime.getRuntime().addShutdownHook(new Thread()
		{
		    @Override
		    public void run()
		    {
		        logger.clean();
		    }
		});
	}

}
